import { ethers } from "ethers";
export  function useSiner (){
  async function connectWallet(){
  const provider=new ethers.BrowserProvider(window.ethereum)
console.log('hello');
const accounts = await provider.send("eth_requestAccounts", []);
console.log(accounts[0]);
return accounts[0];
}
return {connectWallet}
}